/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.ro.impl;

import java.util.List;

import com.us.usws.dao.SchoolStageDAO;
import com.us.usws.model.domain.system.SchoolStage;
import com.us.usws.service.ro.SchoolStageROService;

/**
 * Service RO impl class
 * @author robot
 */
public class SchoolStageROServiceImpl implements SchoolStageROService {

	/**
	 * DAO instance
	 */
	private SchoolStageDAO dao = new SchoolStageDAO();

	/**
	 * Get Count.
	 */
	public int getTotalCount() {
		return dao.getTotalCount();
	}

	/**
	 * Get all list.
	 */
	public List<SchoolStage> getAllSchoolStages() {
		return dao.getAllSchoolStages();
	}

	/**
	 * Get all list by pagination.
	 */
	public List<SchoolStage> getSchoolStages(int start, int end) {
		return dao.getSchoolStages(start, end);
	}

	/**
	 * Get SchoolStage by primary key.
	 */
	public SchoolStage getSchoolStage(String schoolUid, Integer stageDsid) {
		SchoolStage s = dao.getSchoolStage(schoolUid, stageDsid);
		return s;
	}

}